package com.jzo2o.customer.service;

import com.jzo2o.common.model.PageResult;
import com.jzo2o.customer.model.domain.AgencyCertificationAudit;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jzo2o.customer.model.dto.request.AgencyCertificationAuditPageQueryReqDTO;
import com.jzo2o.customer.model.dto.response.AgencyCertificationAuditResDTO;

/**
* @author 22096
* @description 针对表【agency_certification_audit(机构认证审核表)】的数据库操作Service
* @createDate 2024-12-03 11:15:07
*/
public interface AgencyCertificationAuditService extends IService<AgencyCertificationAudit> {

    /**
     * 审核机构认证分页查询
     * @return
     */
    PageResult<AgencyCertificationAuditResDTO> pageQuery(AgencyCertificationAuditPageQueryReqDTO dto);

    /**
     * 审核机构认证信息
     * @param id
     * @param certificationStatus
     * @param rejectReason
     */
    void audit(Long id, Integer certificationStatus, String rejectReason);
}
